# Virtual Router Simulator 
#
# Copyright (C) 2009-2010 VRSim Project
# Author: Choonho Son <choonho@kt.com>
# URL: <http://vrsim.googlecode.com>
# For license information, see LICENSE.TXT
#

import pam

def KTLogin(id, pw, nw):
    tf = pam.authenticate(id,pw)
    if tf == True:
        return u'1'
    else:
        return u'0'
